package com.wl.designpattern.composite;

/**
 * Created by wangliang on 2021/2/27.
 */
public abstract class AQPageElement {
    private String name;

    public AQPageElement(String name) {
        this.name = name;
    }

    //抽象组件角色去掉增删等接口

    public abstract void print(String placeholder);

    public String getName() {
        return name;
    }
}
